	<div>
		Representação digital:
		<div ng-show="modoDownload">
			{{documento.representacaoDigital.nome}}
			<div class="ui icon button" ng-click="mostrarComponenteDeUpload()">
				<i class="edit icon"></i>
			</div>

		</div>
		<div ng-hide="modoDownload">
			<div>
				<input type="file" ng-model-instant id="fileToUpload" onchange="angular.element(this).scope().setFiles(this)" />
			</div>
			<button class="ui tiny blue button" ng-click="uploadFile()" style="margin-top: 10px" >Enviar arquivo</button>
			<button class="ui tiny red button" ng-click="uploadCanceled()" style="margin-top: 10px" >Cancelar envio</button>
			<div class="ui successful progress" ng-show="progressVisible">
				<div class="bar" ng-style="{'width': progress+'%'}"></div>
				<div class="percent">{{progress}}%</div>
			</div>
		</div>
	</div>

	<!-- 		Comentado por nao ser compativel com ipad -->


	<!-- 		<div id="dropbox" class="dropbox" ng-class="dropClass"> -->
	<!-- 			<span>{{dropText}}</span> -->
	<!-- 		</div> -->
	<!-- 		<div ng-show="files.length"> -->
	<!-- 			<div ng-repeat="file in files.slice(0)"> -->
	<!-- 				<span>{{file.webkitRelativePath || file.name}}</span> (<span ng-switch="file.size > 1024*1024"> <span ng-switch-when="true">{{file.size / 1024 / 1024 | number:2}} MB</span> <span ng-switch-default>{{file.size / 1024 | number:2}} kB</span> -->
	<!-- 				</span>) -->
	<!-- 			</div> -->
	<!-- 		</div> -->
